package com.rdc.example.entity;

import java.time.LocalDateTime;

public class CommentLike {
    private Integer id;
    private Integer userId;
    private Integer commentId;
    private LocalDateTime createdAt;

    public CommentLike(Integer id, Integer userId, Integer commentId, LocalDateTime createdAt) {
        this.id = id;
        this.userId = userId;
        this.commentId = commentId;
        this.createdAt = createdAt;
    }

    public CommentLike() {

    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "CommentLike{" +
                "id=" + id +
                ", userId=" + userId +
                ", commentId=" + commentId +
                ", createdAt=" + createdAt +
                '}';
    }
}
